package com.hxexp.weixin.test;

import org.joda.time.LocalDateTime;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.runners.MethodSorters;

/**
 * @author li.jiang
 *
 */
@RunWith(BlockJUnit4ClassRunner.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class JodaTimeTester {

    @Test
    public void test() {

        System.out.println(LocalDateTime.now().toString("yyyy-MM-dd HH:mm:ss"));
        // System.out.println(CalendarUtil.getDaysOfMonth());
        //
        //        String[][] cal = CalendarUtil.getCalendarArray(); // 日历数据
        //
        //        for (int i = 0; i < cal.length; i++) {
        //            for (int j = 0; j < cal[0].length; j++) {
        //                System.out.print(" [" + cal[i][j] + "] ");
        //            }
        //            System.out.println();
        //        }
        //        int days = CalendarUtil.getDaysOfMonth(2015, 2);
        //        System.out.println("days: " + days);
    }

}
